<f:view xmlns="http://www.w3.org/1999/xhtml"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:h="http://java.sun.com/jsf/html"
    xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:p="http://primefaces.org/ui"
        xmlns:pm="http://primefaces.org/mobile"
        contentType="text/html">

    <pm:page title="DERP">

       <!-- Main View -->
        <pm:view id="main">
            <pm:header title="DERP">
            </pm:header>
            <pm:content>
                <p:dataList>
                    <h:outputLink value="/mobile/agendaMedico.jsf">Agenda</h:outputLink>
                                        <h:outputLink value="/mobile/relatorioConsultasRealizadas.jsf">Relatorios</h:outputLink>
                    <h:outputLink value="/mobile/login.jsf">Sair</h:outputLink>
                    

                </p:dataList>
            </pm:content>

        </pm:view>
       

        <!-- Forms -->
        <pm:view id="relatorio">
            <pm:header title="Relatorio">
                <f:facet name="left"><p:button value="Back" icon="back" href="#main?reverse=true"/></f:facet>
            </pm:header>
            <pm:content>
          <p:barChart id="basic" value="#{relatorioBean.categoryModel2}" legendPosition="ne"  
            title="Ocorrencia de doencas" min="0" max="20" style="height:500px"/>  

            </pm:content>

        </pm:view>

    </pm:page>

</f:view>

